import request from '@/utils/request'

function formatRequestUri(name) {
  return 'form/page/control/' + name
}

export function Get(id) {
  return request({
    url: formatRequestUri('Get'),
    method: 'get',
    params: {
      id
    }
  })
}

export function GetItems() {
  return request({
    url: formatRequestUri('GetItems'),
    method: 'get'
  })
}
